<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      Gcr-3.34.0
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;33.&nbsp;GNOME Libraries and Desktop
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="core.html" title=
          "GNOME Libraries and Desktop">Prev</a>
          <p>
            GNOME Libraries and Desktop
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="gsettings-desktop-schemas.html" title=
          "gsettings-desktop-schemas-3.34.0">Next</a>
          <p>
            gsettings-desktop-schemas-3.34.0
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="core.html" title=
          "Chapter&nbsp;33.&nbsp;GNOME Libraries and Desktop">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="gcr" name="gcr"></a>Gcr-3.34.0
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to Gcr
        </h2>
        <p>
          The <span class="application">Gcr</span> package contains libraries
          used for displaying certificates and accessing key stores. It also
          provides the viewer for crypto files on the <span class=
          "application">GNOME</span> Desktop.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "http://ftp.gnome.org/pub/gnome/sources/gcr/3.34/gcr-3.34.0.tar.xz">
                http://ftp.gnome.org/pub/gnome/sources/gcr/3.34/gcr-3.34.0.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download (FTP): <a class="ulink" href=
                "ftp://ftp.gnome.org/pub/gnome/sources/gcr/3.34/gcr-3.34.0.tar.xz">
                ftp://ftp.gnome.org/pub/gnome/sources/gcr/3.34/gcr-3.34.0.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 4af28919fb1dd36d93603e8230283b6f
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 1.4 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 88 MB (with tests)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.6 SBU (with tests)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Gcr Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="../general/glib2.html" title=
          "GLib-2.62.4">GLib-2.62.4</a>, <a class="xref" href=
          "../general/libgcrypt.html" title=
          "libgcrypt-1.8.5">libgcrypt-1.8.5</a>, <a class="xref" href=
          "../general/libtasn1.html" title=
          "libtasn1-4.16.0">libtasn1-4.16.0</a>, and <a class="xref" href=
          "../postlfs/p11-kit.html" title=
          "p11-kit-0.23.20">p11-kit-0.23.20</a>
        </p>
        <h4>
          Recommended
        </h4>
        <p class="recommended">
          <a class="xref" href="../postlfs/gnupg.html" title=
          "GnuPG-2.2.19">GnuPG-2.2.19</a>, <a class="xref" href=
          "../general/gobject-introspection.html" title=
          "gobject-introspection-1.62.0">gobject-introspection-1.62.0</a>,
          <a class="xref" href="../x/gtk3.html" title=
          "GTK+-3.24.13">GTK+-3.24.13</a>, <a class="xref" href=
          "../general/libxslt.html" title=
          "libxslt-1.1.34">libxslt-1.1.34</a>, and <a class="xref" href=
          "../general/vala.html" title="Vala-0.46.6">Vala-0.46.6</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../general/gtk-doc.html" title=
          "GTK-Doc-1.32">GTK-Doc-1.32</a> and <a class="xref" href=
          "../general/valgrind.html" title=
          "Valgrind-3.15.0">Valgrind-3.15.0</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/gcr">http://wiki.linuxfromscratch.org/blfs/wiki/gcr</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of Gcr
        </h2>
        <p>
          Install <span class="application">Gcr</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class=
"command">sed -i -r 's:"(/desktop):"/org/gnome\1:' schema/*.xml &amp;&amp;

./configure --prefix=/usr     \
            --sysconfdir=/etc &amp;&amp;
make</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>make -k
          check</strong></span>. The tests must be run from an X Terminal or
          similar.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <span class="command"><strong>sed ... schema/*.xml</strong></span>:
          This command fixes a deprecated entry in the schema template.
        </p>
        <p>
          <code class="option">--without-gtk</code>: Use this switch if you
          haven't installed <a class="xref" href="../x/gtk3.html" title=
          "GTK+-3.24.13">GTK+-3.24.13</a>. Note that <span class=
          "application">gcr-viewer</span> will not be installed if this is
          passed to configure.
        </p>
        <p>
          <code class="option">--enable-gtk-doc</code>: Use this parameter if
          <span class="application">GTK-Doc</span> is installed and you wish
          to rebuild and install the API documentation.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Program:</strong>
              <span class="segbody">gcr-viewer</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">libgck-1.so, libgcr-3.so,
              libgcr-base-3.so and libgcr-ui-3.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/usr/include/gck-1,
              /usr/{include,share/gtk-doc/html}/gcr-3, and
              /usr/share/gtk-doc/html/gck</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="gcr-viewer" name="gcr-viewer"></a><span class=
                    "term"><span class=
                    "command"><strong>gcr-viewer</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is used to view certificates and key files.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libgck-1" name="libgck-1"></a><span class=
                    "term"><code class="filename">libgck-1.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains GObject bindings for PKCS#11.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libgcr-3" name="libgcr-3"></a><span class=
                    "term"><code class="filename">libgcr-3.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains functions for high level crypto parsing.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-17 12:12:55 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="core.html" title=
          "GNOME Libraries and Desktop">Prev</a>
          <p>
            GNOME Libraries and Desktop
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="gsettings-desktop-schemas.html" title=
          "gsettings-desktop-schemas-3.34.0">Next</a>
          <p>
            gsettings-desktop-schemas-3.34.0
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="core.html" title=
          "Chapter&nbsp;33.&nbsp;GNOME Libraries and Desktop">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
